aaba1877fcd3edee63643b98341fae09f4a84499,platform/platform-impl/src/com/intellij/ide/actions/ShowFilePathAction.java,ShowFilePathAction,doOpen,#File#File#,282
Before Change
private static void doOpen(@NotNull File _dir, @Nullable File _toSelect) throws IOException, ExecutionException {
String dir = FileUtil.toCanonicalPath(_dir.getPath());
String toSelect = _toSelect != null ? FileUtil.toCanonicalPath(_toSelect.getPath()) : null;
if (SystemInfo.isWindows) {
String cmd = toSelect != null ? "explorer /select," + toSelect : "explorer /root," + dir;
After Change
private static void doOpen(@NotNull File _dir, @Nullable File _toSelect) throws IOException, ExecutionException {
String dir = FileUtil.toSystemDependentName(FileUtil.toCanonicalPath(_dir.getPath()));
String toSelect = _toSelect != null ? FileUtil.toSystemDependentName(FileUtil.toCanonicalPath(_toSelect.getPath())) : null;
if (SystemInfo.isWindows) {
String cmd = toSelect != null ? "explorer /select," + toSelect : "explorer /root," + dir;